package com.panopset.gui;

import javax.swing.JTextField;
import javax.swing.text.Document;

import com.panopset.java.Version;
import com.panopset.swing.FontManager;

public class TTextField extends JTextField {

    public TTextField() {
        this(null, null, 0);
    }

    public TTextField(String text) {
        this(null, text, 0);
    }

    public TTextField(int columns) {
        this(null, null, columns);
    }

    public TTextField(String text, int columns) {
        this(null, text, columns);
    }

    public TTextField(Document doc, String text, int columns) {
        super(doc, text, columns);
        FontManager.register(this, FontManager.FontType.monospace);
    }

    private static final long serialVersionUID = Version.UNI_VERSION;
}
